#ifndef LINKLISH_H
#define LINKLISH_H

namespace elloop_test {
	class LinkList {
	public:

		class Node {
		public:
			Node(int data = 0, Node * link = 0);
			~Node();
			int _data;
			Node* _link;
			size_t _id;
			static size_t _counts;
		};

		LinkList(Node* head = 0);
		~LinkList();

		bool create();
		void removeDuplicate();
		void print() const;

	private:
		Node * _head;
	};
}

#endif